package com;

import com.pattern.strategy.StrategyContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Random;

@SpringBootTest
public class Client {

    @Autowired
    private StrategyContext strategyContext;

    @org.junit.jupiter.api.Test
    public void test(){
        strategyContext.submit("IN");;

    }

    @org.junit.jupiter.api.Test
    public void test1() throws InterruptedException {
        Random random = new Random(6);
        System.out.println(random.nextInt());
    }

}

